import request from '@/utils/request'

export function AddEdit(data) {
  return request({
    url: '/SchedStaff/AddEdit',
    method: 'post',
    data
  })
}
export function lists(data) {
  return request({
    url: '/SchedStaff/lists',
    method: 'post',
    data
  })
}
export function staffDelete(data) {
  return request({
    url: '/SchedStaff/staffDelete',
    method: 'post',
    data
  })
}
export function Details(data) {
  return request({
    url: '/SchedStaff/Details',
    method: 'post',
    data
  })
}

export function noticeList(data) {
  return request({
    url: '/SchedNotice/lists',//公告列表
    method: 'post',
    data
  })
}
export function authgrouplist(data) {
  return request({
    url: '/schedAuthRole/ChoiceList',//可选择角色列表
    method: 'post',
    data
  })
}

export function noticeAddEdit(data) {
  return request({
    url: '/SchedNotice/AddEdit',//添加修改公告
    method: 'post',
    data
  })
}
export function noticeDel(data) {
  return request({
    url: '/SchedNotice/Del',//删除公告
    method: 'post',
    data
  })
}

export function noticeDetails(data) {
  return request({
    url: '/SchedNotice/Details',//公告详情
    method: 'post',
    data
  })
}

export function classroomLists(data) {
  return request({
    url: '/SchedClassroom/lists',//教室列表
    method: 'post',
    data
  })
}

export function classroomAddEdit(data) {
  return request({
    url: '/SchedClassroom/AddEdit',//添加修改教室
    method: 'post',
    data
  })
}

export function classroomDels(data) {
  return request({
    url: '/SchedClassroom/Dels',//删除教室
    method: 'post',
    data
  })
}

export function classroomDetails(data) {
  return request({
    url: '/SchedClassroom/details',//教室详情
    method: 'post',
    data
  })
}
